﻿using WeDonekRpc.Helper.Validate;

namespace Basic.FlowRemoteModel.Application.Model
{
    public class AuditSignFileLogItem
    {
        [NumValidate("flow.sign.cert.file.id.error", 1)]
        public long CertFileId
        {
            get;
            set;
        }
        [NumValidate("flow.sign.img.file.id.error", 1)]
        public long SignImgFileId
        {
            get;
            set;
        }
        [EnumValidate("flow.sign.type.error", typeof(FlowSignType))]
        public FlowSignType SignType
        {
            get;
            set;
        }
        [LenValidate("flow.sign.reason.len", 0, 50)]
        public string Reason
        {
            get;
            set;
        }
        [LenValidate("flow.sign.location.len", 0, 50)]
        public string Location
        {
            get;
            set;
        }
    }
}
